package com.base.service.impl;

import com.base.mapper.voipmapper.WithdrawalsQueryMapper;
import com.base.po.voip.WithdrawalsQuery;
import com.base.po.voip.WithdrawalsQueryExample;
import com.base.service.WithdrawalsQueryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("withdrawalsQueryService")
public class WithdrawalsQueryServiceImpl implements WithdrawalsQueryService {
	
	@Autowired
	private WithdrawalsQueryMapper withdrawalsQueryMapper;


	@Override
	public int countByExample(WithdrawalsQueryExample example) {
		return withdrawalsQueryMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(WithdrawalsQueryExample example) {
		return withdrawalsQueryMapper.deleteByExample(example);
	}

	@Override
	public int insert(WithdrawalsQuery record) {
		return withdrawalsQueryMapper.insert(record);
	}

	@Override
	public int insertSelective(WithdrawalsQuery record) {
		return withdrawalsQueryMapper.insertSelective(record);
	}

	@Override
	public List<WithdrawalsQuery> selectByExample(WithdrawalsQueryExample example) {
		return withdrawalsQueryMapper.selectByExample(example);
	}

	@Override
	public WithdrawalsQuery selectByPrimaryKey(String id) {
		return withdrawalsQueryMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(WithdrawalsQuery record, WithdrawalsQueryExample example) {
		return withdrawalsQueryMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(WithdrawalsQuery record, WithdrawalsQueryExample example) {
		return withdrawalsQueryMapper.updateByExample(record, example);
	}
}
